home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Development Platforms / Apple II / Apple II Sample Code / MPW IIGS SC / SC.002.BusyBox / busybox.c / uglobals.c < prev    next >
Encoding:
C/C++ Source or Header  |  1990-06-19  |  763 b   |  31 lines  |  [TEXT/MPS ]

  1. /***********************************************************************
  2. *
  3. *
  4. * busybox uglobals.c -- Version 3.0
  5. *
  6. * Copyright (c)
  7. * Apple Computer, Inc.  1986-1990
  8. * All Rights Reserved.
  9. *
  10. * This file contains the code which intializes the global variables 
  11. * used by the busy box program.
  12. *
  13. ***********************************************************************/
  14.  
  15. #include "busybox.h"
  16.  
  17. #include <quickdraw.h>
  18. #include <window.h>
  19.  
  20. unsigned int    userID;             /* returned from MMStartUp */
  21. unsigned int    quitFlag = 0;        /* True when quitting */
  22. unsigned int    staggerCount = 0;    /* Used to stagger windows as they open */
  23. WmTaskRec        event;                /* All events are returned here */
  24.  
  25. GrafPortPtr     windowList[NumWindows]; 
  26.  
  27. void    initGlobals()
  28. {
  29.     quitFlag = staggerCount = 0;
  30. }
  31.